package com.ax.pojo;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * TabLable entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "TabLable", schema = "dbo", catalog = "uploadDown")
public class TabLable implements java.io.Serializable {

	// Fields

	private Integer lid;
	private String lname;
	private String linfo;
	private String lcode;

	// Constructors

	/** default constructor */
	public TabLable() {
	}

	/** minimal constructor */
	public TabLable(String lname, String linfo) {
		this.lname = lname;
		this.linfo = linfo;
	}

	/** full constructor */
	public TabLable(String lname, String linfo, String lcode) {
		this.lname = lname;
		this.linfo = linfo;
		this.lcode = lcode;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "LID", unique = true, nullable = false)
	public Integer getLid() {
		return this.lid;
	}

	public void setLid(Integer lid) {
		this.lid = lid;
	}

	@Column(name = "LName", nullable = false, length = 50)
	public String getLname() {
		return this.lname;
	}

	public void setLname(String lname) {
		this.lname = lname;
	}

	@Column(name = "LInfo", nullable = false, length = 100)
	public String getLinfo() {
		return this.linfo;
	}

	public void setLinfo(String linfo) {
		this.linfo = linfo;
	}

	@Column(name = "LCode")
	public String getLcode() {
		return this.lcode;
	}

	public void setLcode(String lcode) {
		this.lcode = lcode;
	}

}